import { useSearchUIState } from "./useSearchUIState"

export const useSelectedPageInfo = () => {
    const { selectShowTab } = useSearchUIState();
    const [ route = '', outID = '' ] = selectShowTab?.associateAdvancedSearchPage?.split(',') || [];
    return { route, outID };
}